-
-
Notifications
You must be signed in to change notification settings - Fork 18k
relibc: init #475237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
relibc: init #475237
Conversation
Co-authored-by: =?UTF-8?q?Anders=20Christiansen=20S=C3=B8rby?= <anders@sorby.xyz> Co-authored-by: Boosted-Bonobo <boostedbonobo1@outlook.com>
|
Unfortunately there is no |
| }: | ||
| rustPlatform.buildRustPackage { | ||
| pname = "relibc"; | ||
| version = "0.2.5"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| version = "0.2.5"; | |
| version = "0.2.5-unstable-2025-12-29"; |
| patchPhase = '' | ||
| runHook prePatch | ||
|
|
||
| patchShebangs --build renamesyms.sh stripcore.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be done in postPatch instead, as setting patchPhase means the patches attribute won't be applied (although none are set here in the pcakage right now, they could be set through overrideAttrs)
| runHook preInstall | ||
|
|
||
| mkdir -p $out | ||
| DESTDIR=$out make CC=gcc AR=ar LD=ld NM=nm install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't these all set by the stdenv already? (except DESTDIR)
| buildPhase = '' | ||
| runHook preBuild | ||
|
|
||
| make CC=gcc AR=ar LD=ld NM=nm CARGO_COMMON_FLAGS="" all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as for the install phase
Redone relibc pr. A lot of issues that involved fetchFromGitLab, cargoLock defined instead we can use cargoHash(vendored), some werid changes to aliases to deprecated packages, staleness, merge conflicts and more.
Closes: #453786
Waiting on #475235 to be merged first before we rebase and merge this one.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.